<template>
	<view>
		<orderList :lists="lists" :isJifen="1" :orderRob="2" :orderType="4"></orderList>
	</view>
</template>

<script>
	import orderList from '@/components/order-list.vue'
	export default {
		components: {
			orderList
		},
		data() {
			return {
				lists:[]
			}
		},
		onShow() {
			this.init();
		},
		methods: {
			//获取我的仓库列表
			init() {
				this.$http('orders.getMyStashList', {
					status:0
				}, '获取中...').then(res => {
					if (res.code == 1) {
						this.lists = []
						 this.lists =res.data
					}
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	page {
		background-color: #F6F7F9;
	}
</style>